package com.newworld.basketballfire.service.delegate;

import com.newworld.basketballfire.service.exception.ServiceException;
import com.newworld.basketballfire.service.model.ListResult;
import com.newworld.basketballfire.service.model.Note;
import com.newworld.basketballfire.service.model.NoteParams;

/**
 * Created by George on 2019/4/21.
 * NoteServiceDelegate
 */
public interface NoteServiceDelegate {
    Note addNote(NoteParams noteParams) throws ServiceException;

    Note updateNote(String id, NoteParams noteParams) throws ServiceException;

    void deleteNote(String id) throws ServiceException;

    Note getNote(String id) throws ServiceException;

    ListResult<Note> getNoteList(String id, Integer pageNo, Integer pageSize) throws ServiceException;
}
